package cn.wwcyc.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Data;

/**
 *
 * @TableName user
 */
@TableName(value ="TJ_USER")
@Data
public class User implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     *
     */
    private String username;

    /**
     *
     */
    private String password;


    @TableField(value = "roleid", updateStrategy = FieldStrategy.IGNORED)
    private Integer roleid; //已经淘汰不用了，改为使用多对多关系

    private Boolean superadmin;

    private Long dw;
    private String xm;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
